// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import $ from 'jquery'

import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min'


import '__STYLES__/bootstrap-datetimepicker.min.css'
import '__STYLES__/bootstrap-datetimepicker.min.js'

import '__STYLES__/style.css'
import '__STYLES__/reset.css'
import '__STYLES__/border.css'
import '__STYLES__/iconfont/iconfont.css'
import 'swiper/dist/css/swiper.css'

Vue.use(ElementUI)
Vue.use(VueAwesomeSwiper, /* { default global options } */)
Vue.config.productionTip = false

// 全局事件车
window.eventBus = new Vue()
Vue.prototype.eventBus = eventBus

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  components: { App },
  template: '<App/>'
})
